<div class="main">
	<div class="app">
	<{if condition="$is_fenxiang"}>
	<style>
		.tinymask {
		    z-index: 9999;
		    margin: 0px;
		    padding: 0px;
		    width: 100%;
		    height: 100%;
		    top: 0px;
		    left: 0px;
		    position: fixed;
		    background-color: rgba(0,0,0,0.7);
		    -webkit-tap-highlight-color: transparent;
		}
		.tip {
		    text-align: right;
		    top: 10px;
		    right: 0px;
		    position: fixed;
		    z-index: 9999;
		}
		.tip img {
		    width: 100%;
		    margin: 0px;
		}
	</style>
	<div class="tip_box"> 
    <div class="tinymask" onclick="hidetip()"></div> 
    <div class="tip" onclick="hidetip()"> 
        <img id="go_tip" src="/static/jwap/images/share_android.png"> 
    </div> 
	</div>
	<{/if}>
		<header id="head" class="head">
		<div class="fixtop">
			<span id="t-find">
			<a class="btn btn-left btn-back" href="javascript:window.history.go(-1)" title="返回网站首页"></a>
			</span>
			<span id="t-index">商品详情</span>
			<span id="t-user">
			<a class="btn btn-left btn-back-home" href="/" title="返回首页" _hover-ignore="1"></a>
			</span>
		</div>
		</header>
		<div id="goods">
			<section>
			<div style="padding:1%;background:#fff; heght:150px;" class="normal clear">
				<a style="float:left;margin-right:5px;">
					<img width="144" src="<{$info['pic']}>" />
				</a>
				<div id="right" style="margin:0px;margin-left:149px;width:auto;" class="list-price buy">
								<h3>
								<b class="atitle"><{:com_substr($info['title'],30,"")}></b>
								</h3>
								<p style="margin-top:15px;">
									<{if condition="$info['is_baoyou']==0"}><a href="javascript:;" class="abaoyou">包邮</a><{/if}><a href="javascript:;" class="aquan"><{:number_format($info['coupon_price'])}>元优惠券</a>
								</p>
								<p style="margin:5px 0px;">
								<span class="span1">券后&nbsp;&nbsp;<b style="font-size:18px;"><{$info['quanhou_price']}></b></span> 
								<span class="span2">已售<{$info['coupon_num']}></span>
								</p>
								<p style="margin-bottom:5px;">
									<a style="width:100%;" href="<{:url('goods/taokouling','id='.$info['id'])}>" class="a1">领取优惠券并购买</a>
								</p>
				</div>
			</div>
			</section>
			<section class="goods">
			<div search_url="<{:url('goods/getlists')}>">
				<input type="hidden" name="cat_id"  value="<{$info['cat_id']}>" />
				<input type="hidden" name="keyword" value="" />
				<input type="hidden" name="page_size" value="6" />
				<input type="hidden" name="orderby" value="<{$orderby}>" />
			</div>
			<div class="normal item-recommend">
				<h3><span>猜你还喜欢:</span></h3>
				<ul class="goods-list clear" id="com_body">
					
				</ul>
				</section>
				<div class="paging">
					<div class="paging-nav" id="com_page">
						
					</div>
				</div>
			</div>
		<{include file="layout/footer" /}>
		</div>
	</div>
</div>
<script>
function hidetip(){
    $(".tip_box").css("display","none"); 
}

$(document).ready(function(){
	com_search(1);
});
</script>